<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <title>API-IOT</title>
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
  <meta name="description" content="Description">
  <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
  <link rel="stylesheet" href="docsify/vue.css">
  <link rel="stylesheet" href="docsify/mermaid.min.css">
  <!-- 文件夹样式 -->
  <link rel="stylesheet" href="docsify/sidebar-folder.min.css" />
</head>

<body>
  <div id="app"></div>
  <script src="docsify/marked.min.js"></script>
  <script src="docsify/mermaid.min.js"></script>
  <script>
    var num = 0;
    mermaid.initialize({
      startOnLoad: false
    });
    window.$docsify = {
      relativePath: false,
      loadNavbar: true,
      loadSidebar: true,
      autoHeader: true,
      subMaxLevel: 1,
      auto2top: true,
      name: 'IOT Server Document',
      repo: 'https://gitlab.ecouser.net/arch/product_design_app/tree/master/services/api_for_app',
      search: 'auto', // 默认值
      markdown: {
        renderer: {
          code: function (code, lang) {
            if (lang === "mermaid") {
              return (
                '<div class="mermaid">' + mermaid.render('mermaid-svg-' + num++, code) + "</div>"
              );
            }
            return this.origin.code.apply(this, arguments);
          }
        }
      },
      formatUpdated: '{MM}/{DD} {HH}:{mm}',
      toc: {
        tocMaxLevel: 5,
        target: 'h2, h3, h4, h5, h6'
      }
    }
  </script>
  <script src="docsify/docsify.min.js"></script>
  <script src="docsify/search.min.js"></script>
  <script src="docsify/docsify-copy-code.js"></script>
  <script src="docsify/docsify-pagination.min.js"></script>
  <script src="docsify/prism-bash.min.js"></script>
  <script src="docsify/prism-json.min.js"></script>
  <!-- 侧边栏目录折叠 -->
  <script src="docsify/docsify-sidebar-collapse.min.js"></script>
  <script src="docsify/docsify-plugin-toc.min.js"></script>
</body>

</html>